public class DivisibleByFive {
    public static void main(String[] args) {
        for (int cnt = 1; cnt <= 1000; cnt++) {
            if (cnt % 5 == 0) {
                System.out.println(cnt);
            }
        }
    }
}